﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.Mvc;

namespace DocManager.Controllers
{
    public class SearchController : Controller
    {
        //
        // GET: /Search/

        /// <summary>
        /// Realiza e retorna o grid com a pesquisa
        /// </summary>
        /// <param name="query"></param>
        /// <returns></returns>
        [HttpGet]
        public ActionResult Index( string query )
        {
            return View();
        }

        /// <summary>
        /// Retorna as sugestões para a <paramref name="query"/>
        /// </summary>
        /// <param name="query"></param>
        /// <returns></returns>
        [HttpGet]
        public ActionResult Suggestions( string query )
        {
            return Json( null );
        }
    }
}
